package com.wenwei.sharebox.bean;

/**
 * Created by Administrator on 2017/7/17.
 */
public class RegisterBean {


    /**
     * id : 5
     * username : 18328676068
     * password : $2a$10$7iD4PCtkeJtV4Wwv/rkOXeeotBNYNLWAEUcRDKi3QMYn9x/nBXz7i
     * authorities : user
     * profile : {"id":5,"sex":0,"avator":null,"nickname":null,"real_name":null,"id_card":null,"state":0,"integral_num":0,"deposit":0,"create_time":null,"update_time":null,"delete_time":null}
     * status : 0
     * last_password_reset : 1500281662694
     * remember_token : null
     * create_time : 1500281662694
     * update_time : null
     * delete_time : null
     */

    private int id;
    private String username;
    private String password;
    private String authorities;
    private ProfileBean profile;
    private int status;
    private long last_password_reset;
    private Object remember_token;
    private long create_time;
    private Object update_time;
    private Object delete_time;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAuthorities() {
        return authorities;
    }

    public void setAuthorities(String authorities) {
        this.authorities = authorities;
    }

    public ProfileBean getProfile() {
        return profile;
    }

    public void setProfile(ProfileBean profile) {
        this.profile = profile;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getLast_password_reset() {
        return last_password_reset;
    }

    public void setLast_password_reset(long last_password_reset) {
        this.last_password_reset = last_password_reset;
    }

    public Object getRemember_token() {
        return remember_token;
    }

    public void setRemember_token(Object remember_token) {
        this.remember_token = remember_token;
    }

    public long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public Object getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Object update_time) {
        this.update_time = update_time;
    }

    public Object getDelete_time() {
        return delete_time;
    }

    public void setDelete_time(Object delete_time) {
        this.delete_time = delete_time;
    }

    public static class ProfileBean {
        /**
         * id : 5
         * sex : 0
         * avator : null
         * nickname : null
         * real_name : null
         * id_card : null
         * state : 0
         * integral_num : 0
         * deposit : 0
         * create_time : null
         * update_time : null
         * delete_time : null
         */

        private int id;
        private int sex;
        private Object avator;
        private Object nickname;
        private Object real_name;
        private Object id_card;
        private int state;
        private int integral_num;
        private int deposit;
        private Object create_time;
        private Object update_time;
        private Object delete_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public Object getAvator() {
            return avator;
        }

        public void setAvator(Object avator) {
            this.avator = avator;
        }

        public Object getNickname() {
            return nickname;
        }

        public void setNickname(Object nickname) {
            this.nickname = nickname;
        }

        public Object getReal_name() {
            return real_name;
        }

        public void setReal_name(Object real_name) {
            this.real_name = real_name;
        }

        public Object getId_card() {
            return id_card;
        }

        public void setId_card(Object id_card) {
            this.id_card = id_card;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public int getIntegral_num() {
            return integral_num;
        }

        public void setIntegral_num(int integral_num) {
            this.integral_num = integral_num;
        }

        public int getDeposit() {
            return deposit;
        }

        public void setDeposit(int deposit) {
            this.deposit = deposit;
        }

        public Object getCreate_time() {
            return create_time;
        }

        public void setCreate_time(Object create_time) {
            this.create_time = create_time;
        }

        public Object getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(Object update_time) {
            this.update_time = update_time;
        }

        public Object getDelete_time() {
            return delete_time;
        }

        public void setDelete_time(Object delete_time) {
            this.delete_time = delete_time;
        }
    }
}
